package com.springcloud.demo.dynamicTable.dynamic.service;

import com.springcloud.demo.dynamicTable.dynamic.entity.CodeDO;

import java.util.List;
import java.util.Map;

/**
 * @author wx
 * @date 2018-08-13 14:53:20
 */
public interface CodeService {
	
	CodeDO get(String id);
	
	List<CodeDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(CodeDO code);
	
	int update(CodeDO code);
	
	int remove(String id);
	
	int batchRemove(String[] ids);
}
